package com.xixibaby.storage.oss;


import com.xixibaby.storage.FileUploadService;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author tomj
 */
@Configuration
@EnableConfigurationProperties(AliyunProperty.class)
public class AliyunOssServerAutoConfituration {
    @Bean
    public FileUploadService fileUploadService(){
        return new OSSFileUploadServiceImpl();
    }
}
